package com.feicheng.common.wx;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = {"classpath:wx.properties"}, encoding = "UTF-8")
@Component("wx-http")
@Data
@EqualsAndHashCode(callSuper = false)
public class WxHTTPInterface {

    @Value("${url.accessToken}")
    private String accessToken;

    @Value("${url.refreshToken}")
    private String refreshToken;

    @Value("${url.userInfo}")
    private String userInfo;

    @Value("${url.jsapi}")
    private String jsapi;



    @Value("${url.noticeDeposit}")
    private String noticeDeposit;

    @Value("${url.noticeOrder}")
    private String noticeOrder;

    @Value("${url.noticeCardRecord}")
    private String noticeCardRecord;
    
    @Value("${url.noticeRefund}")
    private String noticeRefund;

    @Value("${message.payDepositInfo}")
    private String payDepositInfo;

    @Value("${message.payOrderInfo}")
    private String payOrderInfo;

    @Value("${message.payCardInfo}")
    private String payCardInfo;

    @Value("${message.payNotReady}")
    private String payNotReady;

    @Value("${message.userException}")
    private String userException;

    @Value("${message.payNoFinish}")
    private String payNoFinish;

    @Value("${message.payFail}")
    private String payFail;

    @Value("${message.paySuccess}")
    private String paySuccess;
}
